package com.passengerflowmanagementsystem.statistics.mapper;

import java.util.List;

import com.passengerflowmanagementsystem.statistics.domain.EmEquipment;

/**
 * 设备Mapper接口
 * 
 * @author sheng
 * @date 2024-10-28
 */
public interface EmEquipmentMapper 
{
    /**
     * 设备查询
     * 
     * @param equipmentId
     * @return
     */
    public EmEquipment selectEmEquipmentByEquipmentId(Long equipmentId);

    /**
     * 查询设备列表
     * 
     * @param emEquipment
     * @return
     */
    public List<EmEquipment> selectEmEquipmentList(EmEquipment emEquipment);

    /**
     * 新增设备
     * 
     * @param emEquipment
     * @return
     */
    public int insertEmEquipment(EmEquipment emEquipment);

    /**
     * 修改设备
     * 
     * @param emEquipment
     * @return
     */
    public int updateEmEquipment(EmEquipment emEquipment);

    /**
     * 删除设备
     * 
     * @param equipmentId
     * @return
     */
    public int deleteEmEquipmentByEquipmentId(Long equipmentId);

    /**
     * 批量删除设备
     * 
     * @param equipmentIds
     * @return
     */
    public int deleteEmEquipmentByEquipmentIds(Long[] equipmentIds);
}
